home *** CD-ROM | disk | FTP | other *** search
- # Jedi Knight Cog Script
- #
- # 00_deathfloor.cog
- #
- # This script creates a surface that kills anything that touches is
- #
- # [IS]
- #
- # (C) 1997 LucasArts Entertainment Co. All Rights Reserved
- # ========================================================================================
-
- symbols
- surface surf0 mask=0x404
- surface surf1 mask=0x404
- surface surf2 mask=0x404
- surface surf3 mask=0x404
- surface surf4 mask=0x404
- surface surf5 mask=0x404
- surface surf6 mask=0x404
- surface surf7 mask=0x404
- surface surf8 mask=0x404
-
- message touched
- message entered
-
- int victim local
-
- end
-
- # ========================================================================================
-
- ## Code Section
- code
- touched:
- entered:
- victim = getsourceref();
- DamageThing(victim, 1000.0, 0x1, victim);
- return;
- end
-
-